-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: env variables #185
fix: env variables #185
Conversation
Warning Review failedThe pull request is closed. WalkthroughThe recent changes across the files primarily focus on enhancing flexibility and clarity in the authentication logic. The updates include making certain parameters optional, improving error messaging, and refining the construction of Changes
Sequence Diagram(s)sequenceDiagram
participant Client as Client Application
participant ARC as AppRouterClient
participant PRC as PagesRouterClient
rect rgb(200, 200, 255)
note over ARC, PRC: New Redirect URL Logic
Client ->> ARC: Initialize with options
alt options?.config?.siteUrl exists
ARC ->> ARC: Set redirectURL to `${options?.config?.siteUrl}/api/auth/kinde_callback`
else
ARC ->> ARC: Set redirectURL to config.clientOptions.redirectURL
end
Client ->> PRC: Initialize with options
alt options?.config?.siteUrl exists
PRC ->> PRC: Set redirectURL to `${options?.config?.siteUrl}/api/auth/kinde_callback`
else
PRC ->> PRC: Set redirectURL to config.clientOptions.redirectURL
end
end
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Explain your changes
Suppose there is a related issue with enough detail for a reviewer to understand your changes fully. In that case, you can omit an explanation and instead include either “Fixes #XX” or “Updates #XX” where “XX” is the issue number.
Checklist
🛟 If you need help, consider asking for advice over in the Kinde community.